<template>

    <el-tabs type="border-card">
        <el-tab-pane label="组成工序">
            <compose :techniqueId="techniqueId"/>
        </el-tab-pane>
        <el-tab-pane label="关联产品">
            <mat :techniqueId="techniqueId"/>
        </el-tab-pane>
    </el-tabs>

</template>
<script>
import compose from '../craft/compose/compose.vue';
import mat from '../craft/mat/mat.vue';
export default {
    components:{
        compose,
        mat
    },
    props:["techniqueId"],
    data(){
        return{
            // techniqueId:'2'
            techniqueId:this.techniqueId
        }
    }
}
</script>
<style scoped>

</style>
